import { Validator } from "../utils";

export default class ComponentsConfig{
    constructor(param) {
        const {
            defaultEmptyImgSource = "",
        } = param || {}
        this.defaultEmptyImgSource = defaultEmptyImgSource; 
        valid.call(this);
    }
}
function valid() {
    let validator = new Validator();
    let errMsg = validator.start();
    if (errMsg) throw new Error(errMsg);
}